package com.tanie.fenxiao.entities;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.Table;

@Entity
@Table(name = "message")
public class Message extends BaseBean implements Serializable {
	private static final long serialVersionUID = 1L;
	private String title;//标题

	@JoinColumn(columnDefinition = "text")//定义外键的列名
	private String content;//内容

	@JoinColumn(columnDefinition = "text")
	private String reply;

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getReply() {
		return this.reply;
	}

	public void setReply(String reply) {
		this.reply = reply;
	}
}
